#include "Col.ph"
#ifdef __GNUG__
#pragma implementation
#endif

#include "Time.h"

#include "Class.h"
#include "String.h"
#include "ET_stdio.h"

//---- Time --------------------------------------------------------------------

const char *Time::AsString() const
{
	return form("%d", val);
}

OStream& operator<< (OStream &os, const Time &t)
{
	return os << t.val SP;
}

IStream& operator>> (IStream &is, Time &t)
{
	return is >> t.val;
}

SimpleMetaImpl(Time)
{
	len= len;
	isptr= isptr;
	sprintf(buf, "%s", ((Time *) addr)->AsString());
}

